package wh.coach.domain.error;

import lombok.Getter;

/**
 * @author hangwen
 * @date 2023/8/18
 */
public class BusinessException extends RuntimeException {
    @Getter
    private final String errorCode;

    public BusinessException(final String errorCode, final String message) {
        super(message);
        this.errorCode = errorCode;
    }
}
